from django.conf.urls import url
from rest_framework import routers

from spit.views import *

urlpatterns = [

    # url('spit/', SpitListView.as_view({'get':'list', 'post':'create'})),
    # # url(r'^spit/(?P<id>\d+)/$', SpitMsgView.as_view()),
    # url(r'^spit/(?P<id>\d+)/children/$', SpitPingView.as_view()),
    # url(r'^spit/(?P<id>\d+)/collect/$', SpitCollectView.as_view())
]

router = routers.SimpleRouter()
router.register(r'spit', SpitView, base_name='spit')
urlpatterns += router.urls
